# 部署管理后台静态文件
ssh xxl.blue
cd /home
rm -rf shop
git clone git@gitee.com:lisailiya/shop
rm -rf /usr/share/nginx/html/shop-admin-ui
mkdir /usr/share/nginx/html/shop-admin-ui
cp -rf /home/shop/shop-admin-ui/dist/*  /usr/share/nginx/html/shop-admin-ui/
kill $(cat /run/nginx.pid)
sleep 0.5
nginx
echo "http://xxl.blue/shop-admin-ui"
exit

